home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 3 / BBS in a box - Trilogy III.iso / Files / Prog / A / AE Sample (TC5) / Prototypes.h < prev    next >
Encoding:
Text File  |  1991-10-10  |  1.6 KB  |  43 lines  |  [TEXT/KAHL]

  1. /* File: ClassBugProtos.h */
  2.  
  3. void Init_all(void);
  4.  
  5. void PrintWindow(WindowPtr wp);
  6. Boolean ShowJobDialog(WindowPtr wp);
  7. Boolean ShowSetupDialog(WindowPtr wp);
  8.  
  9. Boolean select_file (FSSpec *theFile);
  10. OSErr open_selected_file (FSSpec *theFile, WindowPtr wp);
  11.  
  12. void InstallAppleEventHandlers(void);
  13. pascal OSErr NotHandled (AEDescList *aevt, AEDescList *reply, long refCon);
  14. pascal OSErr HandleOapp (AEDescList *aevt, AEDescList *reply, long refCon);
  15. pascal OSErr HandleQuit (AEDescList *aevt, AEDescList *reply, long refCon);
  16. pascal OSErr HandleOdoc (AEDescList *aevt, AEDescList *reply, long refCon);
  17. pascal OSErr HandlePdoc (AEDescList *aevt, AEDescList *reply, long refCon);
  18.  
  19. OSErr MyInteractWithUser(Boolean isUrgent);
  20.  
  21. void SetItemEnable (MenuHandle theMenu, short theItem, Boolean enabled);
  22. void EnableFileCommands (Boolean userWindow);
  23. void AdjustMenus(void);
  24. void SetScrollMaxima (WindowPtr wp, wiHand    info, Boolean setToZero);
  25. void SetControlPositions (WindowPtr wp, wiHand info);
  26. void NewDisplayWindow (void);
  27. void CloseAWindow (WindowPtr whichWindow);
  28. void DoAppleCmds (short theItem);
  29. void DoFileCmds (short theItem);
  30. void DoDemoCmds (short theItem);
  31. void Dispatch (long menuResult);
  32. void DoKey (EventRecord *theEvent);
  33. void DoUpdate (WindowPtr wp);
  34. void SetCtlActivate (WindowPtr wp, Boolean activate);
  35. void DoActivate (EventRecord *theEvent);
  36. void ScrollWindow (WindowPtr wp, wiHand info);
  37. pascal void ScrollCallback (ControlHandle whichControl, short partCode);
  38. void DoContentClick (WindowPtr whichWindow, Point globalPt);
  39. void DoGrowWindow(WindowPtr whichWindow, EventRecord *theEvent);
  40. void DoMouseDown (EventRecord *theEvent);
  41. void MainLoop(void);
  42. void main(void);
  43.